package com.control.qct.businesssteward.adapter;

import android.support.annotation.Nullable;

import com.control.qct.businesssteward.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.control.qct.businesssteward.model.RecordUserInformationModel;

import java.util.List;

/**
 * Created by Administrator on 2018/1/3 0003.
 */

public class MoreUserAdapter extends BaseQuickAdapter<RecordUserInformationModel, BaseViewHolder> {
    public MoreUserAdapter(@Nullable List<RecordUserInformationModel> data) {
        super(R.layout.rv_more_user_item, data);
    }

    @Override
    protected void convert(BaseViewHolder holder, RecordUserInformationModel item) {
        holder.setText(R.id.tv_user_name, item.getLoginName());
        holder.addOnClickListener(R.id.iv_delete_user);
    }
}
